package com.zhiyou100.springbootweather.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
@TableName(value = "city")
public class City {
    @TableId(value = "id",type = IdType.AUTO)
    private  String id;
    @TableField(value = "cityEn")
    private  String cityEn;
    @TableField(value = "cityZh")
    private  String cityZh;
    @TableField(value = "provinceEn")
    private  String provinceEn;
    @TableField(value = "provinceZh")
    private  String provinceZh;
    @TableField(value = "countryEn")
    private  String countryEn;
    @TableField(value = "countryZh")
    private  String countryZh;
    @TableField(value = "leaderEn")
    private  String leaderEn;
    @TableField(value = "leaderZh")
    private  String leaderZh;
    @TableField(value = "lat")
    private  String lat;
    @TableField(value = "lon")
    private  String lon;
}
